<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
图书：<input type="text" name="book" id="name" /><br/>
单价：<input type="tel" name="price" id="price"/>
<script type="text/javascript">
    document.getElementById("price").focus();
</script>
</body>
</html>